@import "../../../../../global.less";

ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    color: black;
    transition: .3s all;
}

.child-layers {
    padding: 8px 16px;

    .layer-title {
        cursor: pointer;
    }
}

.layers-wrapper {
    padding: 8px;
}

.fix-icon-position {
    vertical-align: top;
    font-size: 14px;
    position: absolute;
    top: 4px;
}

i {
    transition: .3s all;
    cursor: pointer;
    vertical-align: top;
    position: relative;
    top: 4px;


    &:hover {
        color: @primary-color;
    }
}

label {
    vertical-align: top;
}

.layer-title {
    padding: 0 8px;
    display: inline-block;
    width: calc(~"100% - 70px");
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.layer-title-select {
    background-color: @primary-color;
    color: #ffffff;
}

.layer-title-content {
    margin: auto 0;
    padding: 0 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.img-wrapper {
    padding: 0 24px;
    user-select: none;
    cursor: pointer;
}

.order-icon {
    margin-left: 6px;
    cursor: pointer;
    transition: .3s all;

    &:hover {
        color: @primary-color;
    }
}

.dndList {

    transition: all 300ms ease;

    &.dndDragover {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

.dndPlaceholder {
    height: 2px;
    border: 1px solid @primary-color;
    background-color: rgba(0, 0, 0, 0.1);
}
